-- GENERATED SPELL FOR [Wild Shoveltusk] --


function spell0_29487(pUnit, Event) --@Head Butt,n/a--
pUnit:FullCastSpellOnTarget(42320,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29487', 3291, 1)
end

function Sorts_29487(pUnit, Event)
local choix_sorts_29487 = math.random(0, 0)
if choix_sorts_29487 == 0 then
pUnit:RegisterEvent('spell0_29487', 1, 1)
end
end

function mob29487_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29487', math.random(1500, 3000), 1)
end

function mob29487_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29487_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29487_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29487, 1, 'mob29487_Action')
RegisterUnitEvent(29487, 2, 'mob29487_Leave')
RegisterUnitEvent(29487, 3, 'mob29487_Kill')
RegisterUnitEvent(29487, 4, 'mob29487_Die')
